package iliasTests;

public class Schleife2
{
    public static void main(String[] args)
    {
        int n = 10;
        int zaehler = 0;
        for (int i = 1; i <= 3 * n; i++)
        {
            for (int j = 1; j <= i; j++)
            {
                zaehler++;
            }
        }
        System.out.println(zaehler);
    }

}
